Skip to content

Conversation

kmruiz
Copy link
Collaborator

@kmruiz kmruiz commented Aug 29, 2025

Proposed changes

Checklist

@Copilot Copilot AI review requested due to automatic review settings August 29, 2025 12:24
@kmruiz kmruiz requested a review from a team as a code owner August 29, 2025 12:24
@kmruiz kmruiz self-assigned this Aug 29, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to warn users about deprecated CLI arguments, specifically targeting the --connectionString argument. The change encourages users to adopt the preferred method of using positional arguments or environment variables for connection strings.

  • Implements a new warnAboutDeprecatedCliArgs function that checks for deprecated CLI arguments and issues warnings
  • Integrates the warning system into the CLI config parsing flow
  • Adds comprehensive unit tests to verify the deprecation warning behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/common/config.ts Adds the warnAboutDeprecatedCliArgs function and integrates it into CLI parsing
tests/unit/common/config.test.ts Adds unit tests for the deprecated CLI argument warning functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kmruiz kmruiz enabled auto-merge (squash) September 1, 2025 09:37
@kmruiz kmruiz merged commit 4a54404 into main Sep 1, 2025
17 checks passed
@kmruiz kmruiz deleted the chore/mcp-107 branch September 1, 2025 09:43
@coveralls
Copy link
Collaborator

coveralls commented Sep 1, 2025

Pull Request Test Coverage Report for Build 17373727595

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 16 of 16 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 80.948%

Totals Coverage Status
Change from base Build 17330103427: 0.04%
Covered Lines: 4536
Relevant Lines: 5519

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants